package com.dragon.common.modules.file.domain.dto;

import java.io.Serializable;

/**
 * @author Chris Chan
 * Create on 2022/1/9 6:58
 * Use for: 存储资源信息
 * Explain:
 */
public class SaveFileInfo implements Serializable {
    /**
     * 存储文件名
     */
    private String name;
    /**
     * 存储路径
     */
    private String path;
    /**
     * uri
     * 在平台内的资源位置
     * 在平台内可以访问
     */
    private String uri;
    /**
     * url
     * 统一资源定位器
     * 可以直接访问
     */
    private String url;

    public SaveFileInfo() {
    }

    public SaveFileInfo(String name, String path, String uri, String url) {
        this.name = name;
        this.path = path;
        this.uri = uri;
        this.url = url;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
